<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNNKit: MNN::Express::Optimizer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNNKit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">MNN Kit SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_m_n_n.html">MNN</a></li><li class="navelem"><a class="el" href="namespace_m_n_n_1_1_express.html">Express</a></li><li class="navelem"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html">Optimizer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_m_n_n_1_1_express_1_1_optimizer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">MNN::Express::Optimizer Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="expr_2_optimizer_8hpp_source.html">Optimizer.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_config.html">Config</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_cost.html">Cost</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aa4416c2d91e1188e1ff8fb504cafc439"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439">Device</a> { <br />
&#160;&#160;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087">CPU</a> = 0, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4">GPU</a> = 1, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8">OTHER</a> = 2, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3">AUTO</a> = 3, 
<br />
&#160;&#160;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087">CPU</a> = 0, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4">GPU</a> = 1, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8">OTHER</a> = 2, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3">AUTO</a> = 3
<br />
 }</td></tr>
<tr class="separator:aa4416c2d91e1188e1ff8fb504cafc439"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4416c2d91e1188e1ff8fb504cafc439"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439">Device</a> { <br />
&#160;&#160;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087">CPU</a> = 0, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4">GPU</a> = 1, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8">OTHER</a> = 2, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3">AUTO</a> = 3, 
<br />
&#160;&#160;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087">CPU</a> = 0, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4">GPU</a> = 1, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8">OTHER</a> = 2, 
<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3">AUTO</a> = 3
<br />
 }</td></tr>
<tr class="separator:aa4416c2d91e1188e1ff8fb504cafc439"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a95844890aacd7b0a1360ef7f4dc6c65f"><td class="memItemLeft" align="right" valign="top">virtual std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a95844890aacd7b0a1360ef7f4dc6c65f">onGetParameters</a> (const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;outputs)</td></tr>
<tr class="separator:a95844890aacd7b0a1360ef7f4dc6c65f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d61964ca6bb81ea8ae6533ba9321af"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_cost.html">Cost</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a49d61964ca6bb81ea8ae6533ba9321af">onMeasure</a> (const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;outputs, std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt; parameters=nullptr)=0</td></tr>
<tr class="separator:a49d61964ca6bb81ea8ae6533ba9321af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eb730f86fc22ef2c5f113865627835f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a4eb730f86fc22ef2c5f113865627835f">onExecute</a> (const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;outputs, std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt; parameters=nullptr)=0</td></tr>
<tr class="separator:a4eb730f86fc22ef2c5f113865627835f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a0f67d42328773400b5af3b2ff8c6ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a8a0f67d42328773400b5af3b2ff8c6ac">Optimizer</a> ()=default</td></tr>
<tr class="separator:a8a0f67d42328773400b5af3b2ff8c6ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab76704131559edfcd374efef41e52149"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#ab76704131559edfcd374efef41e52149">~Optimizer</a> ()=default</td></tr>
<tr class="separator:ab76704131559edfcd374efef41e52149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95844890aacd7b0a1360ef7f4dc6c65f"><td class="memItemLeft" align="right" valign="top">virtual std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a95844890aacd7b0a1360ef7f4dc6c65f">onGetParameters</a> (const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;outputs)</td></tr>
<tr class="separator:a95844890aacd7b0a1360ef7f4dc6c65f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49d61964ca6bb81ea8ae6533ba9321af"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_cost.html">Cost</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a49d61964ca6bb81ea8ae6533ba9321af">onMeasure</a> (const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;outputs, std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt; parameters=nullptr)=0</td></tr>
<tr class="separator:a49d61964ca6bb81ea8ae6533ba9321af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eb730f86fc22ef2c5f113865627835f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a4eb730f86fc22ef2c5f113865627835f">onExecute</a> (const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;outputs, std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt; parameters=nullptr)=0</td></tr>
<tr class="separator:a4eb730f86fc22ef2c5f113865627835f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a0f67d42328773400b5af3b2ff8c6ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a8a0f67d42328773400b5af3b2ff8c6ac">Optimizer</a> ()=default</td></tr>
<tr class="separator:a8a0f67d42328773400b5af3b2ff8c6ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab76704131559edfcd374efef41e52149"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#ab76704131559edfcd374efef41e52149">~Optimizer</a> ()=default</td></tr>
<tr class="separator:ab76704131559edfcd374efef41e52149"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7d06215fa0eab50591b5ad404fbf5d21"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html">Optimizer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a7d06215fa0eab50591b5ad404fbf5d21">create</a> (<a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_config.html">Config</a> config)</td></tr>
<tr class="separator:a7d06215fa0eab50591b5ad404fbf5d21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d06215fa0eab50591b5ad404fbf5d21"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html">Optimizer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#a7d06215fa0eab50591b5ad404fbf5d21">create</a> (<a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_config.html">Config</a> config)</td></tr>
<tr class="separator:a7d06215fa0eab50591b5ad404fbf5d21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="aa4416c2d91e1188e1ff8fb504cafc439"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4416c2d91e1188e1ff8fb504cafc439">&#9670;&nbsp;</a></span>Device <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439">MNN::Express::Optimizer::Device</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087"></a>CPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4"></a>GPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8"></a>OTHER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3"></a>AUTO&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087"></a>CPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4"></a>GPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8"></a>OTHER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3"></a>AUTO&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<a id="aa4416c2d91e1188e1ff8fb504cafc439"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4416c2d91e1188e1ff8fb504cafc439">&#9670;&nbsp;</a></span>Device <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html#aa4416c2d91e1188e1ff8fb504cafc439">MNN::Express::Optimizer::Device</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087"></a>CPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4"></a>GPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8"></a>OTHER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3"></a>AUTO&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439af364d6403b1e173726ef94fba64ae087"></a>CPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439ab9ce0bcdf0395e0a685dd292a8972ab4"></a>GPU&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a6b086addb7c69d3d927baafb6bac09f8"></a>OTHER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="aa4416c2d91e1188e1ff8fb504cafc439a2d66ddc35204e8c5db31bc1db5184cf3"></a>AUTO&#160;</td><td class="fielddoc"></td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8a0f67d42328773400b5af3b2ff8c6ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a0f67d42328773400b5af3b2ff8c6ac">&#9670;&nbsp;</a></span>Optimizer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MNN::Express::Optimizer::Optimizer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab76704131559edfcd374efef41e52149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab76704131559edfcd374efef41e52149">&#9670;&nbsp;</a></span>~Optimizer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual MNN::Express::Optimizer::~Optimizer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a8a0f67d42328773400b5af3b2ff8c6ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a0f67d42328773400b5af3b2ff8c6ac">&#9670;&nbsp;</a></span>Optimizer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MNN::Express::Optimizer::Optimizer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab76704131559edfcd374efef41e52149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab76704131559edfcd374efef41e52149">&#9670;&nbsp;</a></span>~Optimizer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual MNN::Express::Optimizer::~Optimizer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7d06215fa0eab50591b5ad404fbf5d21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d06215fa0eab50591b5ad404fbf5d21">&#9670;&nbsp;</a></span>create() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html">Optimizer</a>&gt; MNN::Express::Optimizer::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_config.html">Config</a>&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7d06215fa0eab50591b5ad404fbf5d21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d06215fa0eab50591b5ad404fbf5d21">&#9670;&nbsp;</a></span>create() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer.html">Optimizer</a>&gt; MNN::Express::Optimizer::create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_config.html">Config</a>&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4eb730f86fc22ef2c5f113865627835f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4eb730f86fc22ef2c5f113865627835f">&#9670;&nbsp;</a></span>onExecute() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool MNN::Express::Optimizer::onExecute </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt;&#160;</td>
          <td class="paramname"><em>parameters</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4eb730f86fc22ef2c5f113865627835f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4eb730f86fc22ef2c5f113865627835f">&#9670;&nbsp;</a></span>onExecute() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool MNN::Express::Optimizer::onExecute </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt;&#160;</td>
          <td class="paramname"><em>parameters</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a95844890aacd7b0a1360ef7f4dc6c65f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95844890aacd7b0a1360ef7f4dc6c65f">&#9670;&nbsp;</a></span>onGetParameters() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::shared_ptr&lt;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a>&gt; MNN::Express::Optimizer::onGetParameters </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>outputs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a95844890aacd7b0a1360ef7f4dc6c65f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95844890aacd7b0a1360ef7f4dc6c65f">&#9670;&nbsp;</a></span>onGetParameters() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::shared_ptr&lt;<a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a>&gt; MNN::Express::Optimizer::onGetParameters </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>outputs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a49d61964ca6bb81ea8ae6533ba9321af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d61964ca6bb81ea8ae6533ba9321af">&#9670;&nbsp;</a></span>onMeasure() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_cost.html">Cost</a> MNN::Express::Optimizer::onMeasure </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt;&#160;</td>
          <td class="paramname"><em>parameters</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a49d61964ca6bb81ea8ae6533ba9321af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49d61964ca6bb81ea8ae6533ba9321af">&#9670;&nbsp;</a></span>onMeasure() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="struct_m_n_n_1_1_express_1_1_optimizer_1_1_cost.html">Cost</a> MNN::Express::Optimizer::onMeasure </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_v_a_r_p.html">VARP</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_optimizer_1_1_parameters.html">Parameters</a> &gt;&#160;</td>
          <td class="paramname"><em>parameters</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>MNNFaceDetection/iOS/MNNFaceDetection/Pods/MNN/MNN.framework/Headers/expr/expr/<a class="el" href="expr_2_optimizer_8hpp_source.html">Optimizer.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
